import Game from "./game.js"
const g = new Game('.map','.score')
const startBtn = document.querySelector('.start')
startBtn.addEventListener('click',()=>{
    g.start()
})
const stopBtn =document.querySelector('.stop')
stopBtn.addEventListener('click',()=>{
    g.stop()
})
const restart = document.querySelector('.restart')
restart.addEventListener('click',() => g.restart())